package test;

import java.util.List;

import org.junit.Test;

import cn.com.edu.nju.ecrec.dao.DaoFactory;
import cn.com.edu.nju.ecrec.dao.EventDao;
import cn.com.edu.nju.ecrec.util.DaoName;

public class testEvent {

	@Test
	public void getByUriName(){
		EventDao ed = DaoFactory.getInstance().getDao(DaoName.EVENT_DAO);
		List<String> userIDs = ed.getUserIDsByUriName("coach-stripe-tote-gold-15112");
		for(String userID : userIDs){
			System.out.println(userID);
		}
	}
}
